home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Apple WWDC 1996
/
WWDC96_1996 (CD).toast
/
Technology Materials
/
MacOS 8 Resources
/
Developer Tools
/
Mac OS 8 Interfaces & Libraries
/
Interfaces
/
IDLIncludes
/
MoviesFormat.idl
< prev
next >
Wrap
Text File
|
1996-05-01
|
6KB
|
185 lines
/*
File: MoviesFormat.idl
Contains: QuickTime Interfaces.
Version: Technology: QuickTime 2.1
Release: Universal Interfaces 3.0d3 on Copland DR1
Copyright: © 1984-1996 by Apple Computer, Inc. All rights reserved.
Bugs?: If you find a problem with this file, send the file and version
information (from above) and the problem description to:
Internet: apple.bugs@applelink.apple.com
AppleLink: APPLE.BUGS
*/
#ifndef __MOVIESFORMAT_IDL__
#define __MOVIESFORMAT_IDL__
#include <somobj.idl>
#include <somcls.idl>
#ifndef __TYPES_IDL__
#include <Types.idl>
#endif
#ifndef __WINDOWS_IDL__
#include <Windows.idl>
#endif
#ifndef __IMAGECOMPRESSION_IDL__
#include <ImageCompression.idl>
#endif
#ifndef __MOVIES_IDL__
#include <Movies.idl>
#endif
#ifdef __SOMIDL__
#if FOR_SYSTEM7_AND_SYSTEM8_COOPERATIVE
/*
***************************************
*
* General Types -
* These types are used in more than one of the
* directory types.
*
***************************************
*/
/* MoviesUserData is the type used for user data in movie and track directories */
typedef SOMLargeStruct MoviesUserData; /* Derived from a struct of 9 bytes in size */
typedef SOMLargeStruct UserDataAtom; /* Derived from a struct of 18 bytes in size */
/*
***************************************
*
* MediaDirectory information -
* The MediaDirectory is tightly coupled to the data.
*
***************************************
*/
typedef SOMLargeStruct SampleDescriptionAtom; /* Derived from a struct of 32 bytes in size */
/* TimeToSampleNum maps physical sample time to physical sample number. */
typedef SOMLargeStruct TimeToSampleNum; /* Derived from a struct of 8 bytes in size */
typedef SOMLargeStruct TimeToSampleNumAtom; /* Derived from a struct of 24 bytes in size */
/* SyncSamples is a list of the physical samples which are self contained. */
typedef SOMLargeStruct SyncSampleAtom; /* Derived from a struct of 20 bytes in size */
/* SampleToChunk maps physical sample number to chunk number. */
/* same as SampleToChunk, but redundant first sample is removed */
typedef SOMLargeStruct SampleToChunk; /* Derived from a struct of 12 bytes in size */
typedef SOMLargeStruct SampleToChunkAtom; /* Derived from a struct of 28 bytes in size */
typedef SOMLargeStruct ChunkOffsetAtom; /* Derived from a struct of 20 bytes in size */
typedef SOMLargeStruct SampleSizeAtom; /* Derived from a struct of 24 bytes in size */
typedef SOMLargeStruct ShadowSync; /* Derived from a struct of 8 bytes in size */
typedef SOMLargeStruct ShadowSyncAtom; /* Derived from a struct of 24 bytes in size */
typedef SOMLargeStruct SampleTableAtom; /* Derived from a struct of 180 bytes in size */
typedef SOMLargeStruct PublicHandlerInfo; /* Derived from a struct of 25 bytes in size */
typedef SOMLargeStruct HandlerAtom; /* Derived from a struct of 34 bytes in size */
/* a data reference is a private structure */
typedef long DataRefAtom;
typedef SOMLargeStruct DataInfoAtom; /* Derived from a struct of 12 bytes in size */
typedef SOMLargeStruct RgnAtom; /* Derived from a struct of 19 bytes in size */
typedef SOMLargeStruct MatteCompressedAtom; /* Derived from a struct of 99 bytes in size */
typedef SOMLargeStruct MatteAtom; /* Derived from a struct of 108 bytes in size */
typedef SOMLargeStruct ClippingAtom; /* Derived from a struct of 28 bytes in size */
/*
**********************
* Media Info Example Structures
**********************
*/
typedef SOMLargeStruct VideoMediaInfoHeader; /* Derived from a struct of 12 bytes in size */
typedef SOMLargeStruct VideoMediaInfoHeaderAtom; /* Derived from a struct of 20 bytes in size */
typedef SOMLargeStruct VideoMediaInfo; /* Derived from a struct of 254 bytes in size */
typedef SOMLargeStruct SoundMediaInfoHeader; /* Derived from a struct of 8 bytes in size */
typedef SOMLargeStruct SoundMediaInfoHeaderAtom; /* Derived from a struct of 16 bytes in size */
typedef SOMLargeStruct SoundMediaInfo; /* Derived from a struct of 242 bytes in size */
/* whatever data the media handler needs goes after the atomType */
typedef SOMLargeStruct MediaInfo; /* Derived from a struct of 8 bytes in size */
/*
**********************
* Media Directory Structures
**********************
*/
typedef SOMLargeStruct MediaHeader; /* Derived from a struct of 24 bytes in size */
typedef SOMLargeStruct MediaHeaderAtom; /* Derived from a struct of 32 bytes in size */
typedef SOMLargeStruct MediaDirectory; /* Derived from a struct of 82 bytes in size */
/*
**********************
* Track Structures
**********************
*/
typedef SOMLargeStruct TrackHeader; /* Derived from a struct of 84 bytes in size */
typedef SOMLargeStruct TrackHeaderAtom; /* Derived from a struct of 92 bytes in size */
typedef SOMLargeStruct EditListType; /* Derived from a struct of 12 bytes in size */
typedef SOMLargeStruct EditListAtom; /* Derived from a struct of 28 bytes in size */
typedef SOMLargeStruct EditsAtom; /* Derived from a struct of 36 bytes in size */
typedef SOMLargeStruct TrackLoadSettings; /* Derived from a struct of 16 bytes in size */
typedef SOMLargeStruct TrackLoadSettingsAtom; /* Derived from a struct of 24 bytes in size */
typedef SOMLargeStruct TrackDirectory; /* Derived from a struct of 264 bytes in size */
/*
***************************************
*
* MovieDirectory -
* The MovieDirectory is the top level structure which
* holds the TrackInstance describing where the
* TrackDirectories are.
*
***************************************
*/
typedef SOMLargeStruct MovieHeader; /* Derived from a struct of 100 bytes in size */
typedef SOMLargeStruct MovieHeaderAtom; /* Derived from a struct of 108 bytes in size */
typedef SOMLargeStruct MovieDirectory; /* Derived from a struct of 426 bytes in size */
/*
***************************************
***************************************
*/
/* Movie formats and tags */
/* atom id's */
#endif
#endif /* __SOMIDL__ */
#endif /* __MOVIESFORMAT_IDL__ */